-
Notifications
You must be signed in to change notification settings - Fork 8k
dts: stm32h7rs: Add SDMMC support for STM32H7RS series #97293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Provide the soc configuration for sdmmc1 and sdmmc2 controllers. This includes registers address, clocks, resets and interrupt line details. Signed-off-by: Shan Pen <[email protected]>
Configure SDMMC1 with 4-bit bus width and card detection. Use PLL2S as kernel peripheral clock (150MHz) divided by 15 to achieve 10MHz SDMMC clock with clk-div = <13>. Signed-off-by: Shan Pen <[email protected]>
Configure SDMMC1 with 4-bit bus width and card detection. Use PLL2S as kernel peripheral clock (150MHz) divided by 15 to achieve 10MHz SDMMC clock with clk-div = <13>. Signed-off-by: Shan Pen <[email protected]>
|
34aaab0
to
44e3d05
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Same state as #94965 last proposal.
Ci build test error is unrelated:
It's related to commit 4b04b74 that uses #define BIT_MASK(n) (BIT(n) - 1UL) |
This PR adds SDMMC support for STM32H7RS series microcontrollers and enables it on two development boards.
Changes:
SoC support: Add SDMMC1 and SDMMC2 controller configurations for STM32H7RS series
Board enablement: Configure SDMMC1 on supported boards:
Clock Configuration:
Both boards use PLL2S as the kernel peripheral clock source:
Hardware Features:
Testing Status:
zephyr/tests/drivers/disk/disk_performance
:Note: I don't have access to the STM32H7S78-DK physical board, but the configuration should be correct based on the hardware documentation. If anyone could help test this board, it would be greatly appreciated, and I'm willing to make adjustments based on the test results.